<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>用户中心-{$tpshop_config['shop_info_store_title']}</title>
    <meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
    <link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/css/myuser.css" type="text/css">
</head>

<body>
<!--------头部开始-------------->
<include file="Public/header" />
<include file="Public/topnav" />
<!--------头部结束-------------->

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius page_hidden">
      <div class="page_padin">
        <div class="user_page">
          <div class="user_poi">当前位置：首页 &gt; <span>管理中心 </span></div>
          <div class="user_left">
            <include file="User/userleft" />
          </div><!--user_left-->

          <div class="user_right">
            <div class="user_index_page">
              <div class="user_index_left">
                <div class="shopicon">
                  <div class="shopicon_p">
                    <div class="bor">
                      <a href="{:U('Home/User/seller_list')}">
                        <div class="h1"><i class="icon-shouhou"></i></div>
                        <div class="h2">我出售的网店(<span>{$vendor_all_num}</span>)</div>
                      </a>
                    </div>
                  </div>
                  <div class="shopicon_p">
                    <div class="bor">
                      <a href="{:U('Home/User/order_list')}">
                        <div class="h1"><i class="icon-mai"></i></div>
                        <div class="h2">我购买的网店(<span>{$buyer_all_num}</span>)</div>
                      </a>
                    </div>
                  </div>
                  <div class="shopicon_p shopicon_p_last">
                    <div class="bor">
                      <a href="{:U('Home/User/add_seller')}">
                        <div class="h1"><i class="icon-tianxie"></i></div>
                        <div class="h2">我要出售网店</div>
                      </a>
                    </div>
                  </div><!--shopicon_p-->
                  <div class="clear"></div>
                </div><!--shopicon-->

                <div class="shoptip">
                  <dl>
                    <dt><i class="icon-xiaolaba"></i> 卖家提醒：</dt>
                    <dd><a href="{:U('seller_list',array('status_id'=>1))}">待审核（<span>{$vendor_daiqueren_num}</span>）</a></dd>
                    <dd><a href="{:U('seller_list',array('status_id'=>2))}">出售中（<span>{$vendor_zaishou_num}</span>）</a></dd>
                    <!--<dd><a href="{:U('链接替换')}">待付款（<span>0</span>）</a></dd>-->
                    <dd><a href="{:U('seller_list',array('status_id'=>3))}">正在交易（<span>{$vendor_guohu_num}</span>）</a></dd>
                    <dd><a href="{:U('seller_list',array('status_id'=>4))}">交易完成（<span>{$vendor_wancheng_num}</span>）</a></dd>
                    <dd><a href="{:U('seller_list',array('status_id'=>5))}">已下架（<span>{$vendor_xiajia_num}</span>）</a></dd>
                    <div class="clear"></div>
                  </dl>

                  <dl>
                    <dt><i class="icon-xiaolaba"></i> 买家提醒：</dt>
                    <dd><a href="{:U('Home/User/my_ask_buy',array('status_id'=>1))}">求购待确认（<span>{$qiugou_num}</span>）</a></dd>
                    <dd><a href="{:U('order_list',array('status_id'=>1))}">待付款（<span>{$buyer_nopay_num}</span>）</a></dd>
                    <dd><a href="{:U('order_list',array('status_id'=>2))}">正在交易（<span>{$buyer_guohu_num}</span>）</a></dd>
                    <dd><a href="{:U('order_list',array('status_id'=>3))}">交易完成（<span>{$buyer_wancheng_num}</span>）</a></dd>
                    <dd><a href="{:U('order_list',array('status_id'=>4))}">退款中（<span>{$buyer_tuikuan_num}</span>）</a></dd>
                    <div class="clear"></div>
                  </dl>
                </div><!--shoptip-->

               <!-- <div class="shoptongji">
                  <div class="shoptongji_tit">资金统计</div>
                  <ul>
                    <li class="shoptongji_li shoptongji_li1">
                      <div class="fl"><span class="icon"><i class="icon-zhuanxiangzijin"></i></span>我的余额：<span class="pri">{$user.user_money}</span> 元</div>
                      <div class="fi"><a class="a" href="{:U('my_money')}">查看明细</a><span class="tjbtn tjbtn1"><a href="{:U('my_money')}">我要充值</a></span><span class="tjbtn tjbtn2"><a href="{:U('money_cash')}">我要提现</a></span></div>
                      <div class="clear"></div>
                    </li>
                   &lt;!&ndash; <li class="shoptongji_li shoptongji_li2">
                      <div class="fl"><span class="icon"><i class="icon-gerenzijin"></i></span>可用余额：<span class="pri">0.00</span> 元</div>
                      <div class="fi"><a class="a" href="{:U('链接替换')}">查看明细</a></div>
                      <div class="clear"></div>
                    </li>
                    <li class="shoptongji_li shoptongji_li3">
                      <div class="fl"><span class="icon"><i class="icon-dongjiefene"></i></span>冻结资金：<span class="pri">0.00</span> 元</div>
                      <div class="fi">保证金余额：<span class="pri">0.00</span> 元</div>
                      <div class="clear"></div>
                    </li>&ndash;&gt;
                  </ul>
                </div>&lt;!&ndash;shoptongji&ndash;&gt;-->

                <div class="shoplc">
                  <div class="shoplc_box">
                    <div class="bor">
                      <div class="pad">
                        <div class="shoplc_div">
                          <div class="h1">买家流程：</div>
                          <!--<div class="h2">选购网店<span class="icon-sanjiaoxing-right"></span>拍下付款<span class="icon-sanjiaoxing-right"></span>账户充值<span class="icon-sanjiaoxing-right"></span>付款成功<span class="icon-sanjiaoxing-right"></span>交接信息<span class="icon-sanjiaoxing-right"></span>签订合同<span class="icon-sanjiaoxing-right"></span>交易完成<span class="icon-sanjiaoxing-right"></span>售后服务</div>-->
                          <div class="h2">选购网店<span class="icon-sanjiaoxing-right"></span>拍下付款<span class="icon-sanjiaoxing-right"></span> 付款成功<span class="icon-sanjiaoxing-right"></span>交接信息<span class="icon-sanjiaoxing-right"></span>签订合同<span class="icon-sanjiaoxing-right"></span>交易完成<span class="icon-sanjiaoxing-right"></span>售后服务</div>
                        </div><!--shoplc_div-->
                        <div class="shoplc_div shoplc_div_last">
                          <div class="h1">卖家流程：</div>
                          <!--<div class="h2">登记网店<span class="icon-sanjiaoxing-right"></span>买家拍下<span class="icon-sanjiaoxing-right"></span>完成付款<span class="icon-sanjiaoxing-right"></span>交接信息<span class="icon-sanjiaoxing-right"></span>签订合同<span class="icon-sanjiaoxing-right"></span>交易完成<span class="icon-sanjiaoxing-right"></span>申请提现<span class="icon-sanjiaoxing-right"></span>售后服务</div>-->
                          <div class="h2">登记网店<span class="icon-sanjiaoxing-right"></span>买家拍下<span class="icon-sanjiaoxing-right"></span>完成付款<span class="icon-sanjiaoxing-right"></span>交接信息<span class="icon-sanjiaoxing-right"></span>签订合同<span class="icon-sanjiaoxing-right"></span>交易完成<span class="icon-sanjiaoxing-right"></span> 售后服务</div>
                        </div><!--shoplc_div-->
                      </div>
                    </div>
                  </div><!--shoplc_box-->
                </div><!--shoplc-->
              </div><!--user_index_left-->






              <div class="user_index_right">
                <div class="user_leftbor2 user_left_height">
                  <div class="user_leftpad2">
                    <div class="uinri_login uinri_part">
                      <div class="uinri_tit">{$_SESSION[user][nickname]}</div>
                      <div class="h1">上次登录：{$user[last_login]|date='Y-m-d H:i',###}  </div>
                      <div class="h2">手机认证：



                        <if condition="$user['mobile_validated'] eq 0">
                          <a href="{:U('Home/User/mobile_validate',array('step'=>1))}">立即认证<i class="uicon uicon-mobile_off"></i></a>
                          <else/>
                          <a href="{:U('Home/User/mobile_validate',array('step'=>1))}">点击修改<i class="uicon uicon-mobile"></i></a>
                        </if>



                        <!--<a href="{:U('链接替换')}">点击修改<i class="uicon uicon-mobile"></i></a>-->
                      </div>
                     <!-- <div class="h2">邮箱认证：

                        <if condition="$user['email_validated'] eq 0">
                          <a href="{:U('Home/User/email_validate',array('step'=>1))}">立即认证<i class="uicon uicon-email_off"></i></a>
                          <else/>
                          <a href="{:U('Home/User/email_validate',array('step'=>1))}">点击修改<i class="uicon uicon-email"></i></a>
                        </if>

                      </div>-->
                    </div><!--uinri_part-->

                    <div class="uinri_part">
                      <div class="uinri_tit uinri_titbor">网站公告</div>
                      <div class="uinri_ul">
                        <ul>

                          <foreach name="article_list" key="kk0" item="vv0">

                            <li><a href="{:U('article/detail',array('article_id'=>$vv0['article_id']))}"><i class="icon-sanjiaoxing-right"></i>{$vv0[title]}</a></li>

                          </foreach>
                          
                        </ul>
                      </div><!--uinri_ul-->
                    </div><!--uinri_part-->

                    <div class="uinri_part">
                      <div class="uinri_tit uinri_titbor"><a href="{:U('Home/Article/qa_list')}">常见问答</a></div>
                      <div class="uinri_ul">
                        <ul>
                          <foreach name="qa_list" key="kk1" item="vv1">

                            <!--<li><a href="{:U('article/detail',array('article_id'=>$vv1['article_id']))}"><i class="icon-sanjiaoxing-right"></i>{$vv1.title}</a></li>-->
                            <li><a href="{:U('article/qa_list',array('type_id'=>$vv1['type_id'],'id'=>$vv1[id]))}"><i class="icon-sanjiaoxing-right"></i>{$vv1.question}</a></li>

                          </foreach>
                        </ul>
                      </div><!--uinri_ul-->
                    </div><!--uinri_part-->

                    <div class="uinri_part">
                      <div class="uinri_tit uinri_titbor">投诉与建议</div>
                      <div class="uinri_tousu">
                        <form action="{:U('complain')}" method="post" onsubmit="return form_submit()">
                          <div><textarea class="uinri_tousu_text" name="content" id="content" placeholder="是否满意？有话您直说"></textarea></div>
                          <button class="uinri_tousu_btn" type="submit"  >确认提交</button>
                        </form>
                      </div><!--uinri_tousu-->
                    </div><!--uinri_part-->
                  </div><!--user_leftpad-->
                </div><!--user_leftbor-->
              </div><!--user_index_right-->

              <div class="clear"></div>
            </div><!--user_index_page-->
          </div><!--user_right-->
          <div class="clear"></div>
        </div><!--user_page-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->

<script src="__STATIC__/js/user_after.js"></script>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/pc_common.js"></script>

<script>

  function form_submit(){
      var content =$('#content').val();
      if(content  ==''){
          layer.alert('内容不能为空', {icon: 2});//alert('验证码不能为空');
          return false;
      }

  }
    function delimg(file,t){
        $.get(
                "/index.php?m=Admin&c=Uploadify&a=delupload",{action:"del", filename:file},function(){}
        );
        $('#head_pic').val('');
        $('#preview').attr('src','');
        $(t).remove();
    }
    function add_img(str){
        var head_pic = $('#head_pic').val();
        $('#head_pic').val(str);
        $('#preview').attr('src',str);

//        if(!$('#delimg')){
//            $('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
//        }else{
//            $('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
//        }
        if(!head_pic){
            $('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
        }else{
            $('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
        }

    }
</script>

<script type="text/javascript">
    $(document).ready(function(){
        var icon_wh=$(".icon_wh");
        icon_wh.each(function(){
            var thisObj=$(this);
            thisObj.bind("mouseout",function(){
                $(this).next().css("display","none");
            });
            thisObj.bind("mouseover",function(){
                $(this).next().css("display","block");
            });
        });
    });
</script>
<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->
</body>
<script>
    /*$(function () {
     $("#h-s").click(function () {
     $('.ec-ta-x').css('left','124px');
     $('.ec-ta-x').css('width','110px');
     $(this).addClass("cullent");
     $('#q-s').removeClass("cullent");
     });
     });
     */
</script>

<script>
    $(function () {
        $("#h-s").mouseover(function () {
            $('.ec-ta-x').css('left','124px');
            $('.ec-ta-x').css('width','110px');
            $(this).addClass("cullent");
        });
        $("#h-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
            $('.ec-ta-x').css('width','124px');
            $(this).removeClass("cullent");
        });
    });
    $(function () {
        $("#q-s").mouseover(function () {
            $('.ec-ta-x').css('left','0px');
            $(this).addClass("cullent");
        });
        $("#q-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
        });
    });

</script>
</html>